/**
 * 
 */
package cre.gutwo.imp;

import org.apache.poi.ss.usermodel.Cell;

import cre.gutwo.domain.DataModel;
import cre.gutwo.util.PoiUtils;

/**
 * @author Cre.Gu
 *
 */
public class SwImp extends DefaultImp {

	@Override
	protected void putValue(DataModel dm, Cell cell) {
		int i = cell.getColumnIndex();
		String value = PoiUtils.getStringCellValue(cell);

		switch (i) {
//		case 2:
//			dm.put("Company", value);
//			break;
//		case 3:
//			dm.put("PC Sitecode", value);
//			break;
		case 4:
			dm.put("User Login Name", "");
			break;
		case 5:
			dm.put("PCID", value);
			break;
		case 6:
			dm.put("PC Name", value);
			break;
		case 7:
			dm.put("Software Name", value);
			break;
		case 8:
			dm.put("Software Version", value);
			break;
		case 9:
			dm.put("Software Path", "");
			break;
		case 10:
			dm.put("Software Vendor", value);
			break;
		case 11:
			dm.put("Scan Date", value);
			break;
		case 12:
			dm.put("Linkage ID", value);
			break;
		default:
			break;
		}
	}

}
